package com.glela.serial.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.glela.serial.model.TalentSerialContent;

/**
 * 达人期详情页的图片
 * 
 * @author 卫耀华
 *
 */
public interface TalentSerialContentMapper {

	public List<TalentSerialContent> selectTalentSerialContentListBySerialId(@Param("serialId") int serialId);
	/**
	 * 添加期内图片
	 * @param talentSerialId
	 * @param imagePath
	 * @return
	 */
	public int insertTalentSerialCtntent(@Param("talentSerialId")long talentSerialId,@Param("imagePath")String imagePath
			,@Param("imgWidth")int imgWidth,@Param("imgHeight")int imgHeight);
	/**
	 * 删除期内图片
	 * @param talentSerialId
	 * @param imagePath
	 * @return
	 */
	public int deleteTalentSerialontent(@Param("talentSerialId")long talentSerialId,@Param("id")long id);
	/**
	 * 查询期内图片
	 * @param talentSerialId
	 * @return
	 */
	public List<TalentSerialContent> selectTalentSerialContentImgPath(long talentSerialId);

}
